#code based on tutorial from: www.boddie.org.uk/python/XML_intro.html
#import xml.dom.ext
import xml.dom.minidom
#def get_a_document():
doc = xml.dom.minidom.Document()
marker_element = doc.createElementNS("motologger", "markers")
doc.appendChild(marker_element)
#    return doc, marker_element
#def add_a_line(doc, marker_element):
line_element = doc.createElementNS("motologger", "line")
marker_element.appendChild(line_element)
#    return line_element
line_element = add_a_line(doc,marker_element)
doc.appendChild(marker_element)

